<!DOCTYPE html>
<html>
<head>
    <title>积分表</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("sys:gintegraldetail:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("sys:gintegraldetail:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("sys:gintegraldetail:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">积分列表的id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="gIntegralDetail.integralListId" placeholder="积分列表的id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label"> 添加多少积分</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="gIntegralDetail.integral" placeholder=" 添加多少积分"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">是否添加，还是减少操作(1是添加   0是减少)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="gIntegralDetail.operationType" placeholder="是否添加，还是减少操作(1是添加   0是减少)"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">积分类型(0是每日签到，1是闯关，2是考试过关，3是模拟考试过关)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="gIntegralDetail.integralType" placeholder="积分类型(0是每日签到，1是闯关，2是考试过关，3是模拟考试过关)"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="gIntegralDetail.createTime" placeholder="创建时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">更新时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="gIntegralDetail.updateTime" placeholder="更新时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">学生用户</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="gIntegralDetail.studentId" placeholder="学生用户"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">后台管理账户</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="gIntegralDetail.updateUserId" placeholder="后台管理账户"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">0没有删除  1以删除</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="gIntegralDetail.disFlag" placeholder="0没有删除  1以删除"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/integral/gintegraldetail.js?_${.now?long}"></script>
</body>
</html>